2023-1-4产品设备

zhc4dev
lenovo 2 years ago
parent 2a712c198e
commit 6010ca75d7
  1. 2
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/pdmachine/entity/ProductMachine.java
  2. 2
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/pdmachine/mapper/ProductMachineMapper.java

@ -49,7 +49,7 @@ public class ProductMachine implements Serializable {
/**设备d*/
@Excel(name = "设备d", width = 15)
@ApiModelProperty(value = "设备d")
@Dict(dictTable = "zy_devicetype", dicText = "name", dicCode = "id")
@Dict(dictTable = "zy_device", dicText = "name", dicCode = "id")
private String machineId;
/**序号*/
@Excel(name = "序号", width = 15)

@ -18,7 +18,7 @@ import org.jeecg.modules.product.pdmachine.entity.ProductMachine;
*/
public interface ProductMachineMapper extends BaseMapper<ProductMachine> {
@Select("select id from zy_devicetype where name like #{s}")
@Select("select id from zy_device where name like #{s}")
List<String> find(String s);
@Update("update product_machine set sort=sort+1 where id=#{id}")

Loading…
Cancel
Save